package com.powerunion.datacollection.dao;

import java.util.List;
import com.powerunion.datacollection.model.FormField;

public interface FormFieldDao {
	public boolean save(List formFields,String formId) throws DaoException;
		
	public boolean delete(String formId) throws DaoException;
	
	public FormField getBykey(String id);
	
	public List getFormFields(String formId)throws DaoException;
	/**
	 * 得到服务器 主要用于设置主表报送区的下拉框类型字段的下拉内容
	 * @return
	 * @throws DaoException
	 */
	public List getServers() throws DaoException;
}
